package com.skyline.wo.service;

import java.util.List;

import com.skyline.base.exception.NoResourceException;
import com.skyline.common.bean.Page;
import com.skyline.wo.model.Video;

public interface VideoService {
	public Video queryVideoInfo(String url) throws Exception;

	public long addVideo(Long ownerId, String ownerPortrait, String ownerNickname, String title, String thumbnail, String summary,
			String time, String source, String pageUrl, String flashUrl, String htmlCode);
	
	public Video getVideoById(Long id) throws NoResourceException;
	
	public List<Video> getVideoByOwnerId(Long ownerId,Page page);
}
